<!DOCTYPE html>
<html lang="zh-CN">
  <head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	{% if title %}
		<title>{{title}}</title>
		{% else %}
		<title>学生上机管理系统</title>
		{% endif %}
	<link href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
	<script type="text/javascript">
       	function check()
       	{
            var pw1 = document.getElementById("input1").value;
            var pw2 = document.getElementById("input2").value;
            if (pw1 != pw2)
            {
            	document.getElementById("submit").disable = true;
                alert("两次输入的密码不一致！");
            }
            else
            {
                document.getElementById("submit").disable = false;
            }
        }
    </script>
  </head>
  <body>
	{% block content %}{% endblock %}
	<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
	<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
  </body>
</html>